projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23f1b97
)
luci-base: Correct how textarea's wrap works
author
Joseph Mory
<
[email protected]
>
Fri, 5 Jul 2024 09:15:55 +0000
(17:15 +0800)
committer
Paul Donald
<
[email protected]
>
Sat, 6 Jul 2024 11:32:12 +0000
(13:32 +0200)
Signed-off-by: Joseph Mory <
[email protected]
>
modules/luci-base/htdocs/luci-static/resources/ui.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/ui.js
b/modules/luci-base/htdocs/luci-static/resources/ui.js
index 90ff86b75a9e9704a936450974ec1fc393087e37..0e395cea20c1c47e76488dbf75ece0002002bd1d 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/ui.js
@@
-511,7
+511,7
@@
var UITextarea = UIElement.extend(/** @lends LuCI.ui.Textarea.prototype */ {
'style': style,
'cols': this.options.cols,
'rows': this.options.rows,
- 'wrap': this.options.wrap ? '
' : null
+ 'wrap': this.options.wrap ? '
soft' : 'off'
}, [ value ]));
if (this.options.monospace)